package com.itheima.d4_abstract_template_method;

// 作文的模板
public abstract class Template {
    public  final void putFridge(){
        System.out.println("开冰箱门");
        putObject();
        System.out.println("关冰箱门");
    }
    public abstract void putObject();
}
